package javas;

import java.util.List;

/**
 * @author 李泽伟
 */
public class MainTest {
    public static void main(String[] args) {
        DAO<Customer> dao = new DAO<>();
        dao.add(1001, new Customer(1001, "李泽江", 13));
        dao.add(1002, new Customer(1002, "江田清", 12));
        dao.add(1003, new Customer(1003, "哈哈", 14));

        List<Customer> list = dao.getList();
        System.out.println(list);
    }
}
